home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 201 / DPCS1104.ISO / Full / QuickBooks / QBTutor / Lesson2 / Lesson2.dcr / 00152_menu go voiceover.ls < prev    next >
Encoding:
Text File  |  2001-11-19  |  567 b   |  25 lines

  1. property oldMenuButtonName, spriteNum
  2. global menuButtonName
  3.  
  4. on beginSprite me
  5.   oldMenuButtonName = menuButtonName
  6. end
  7.  
  8. on exitFrame me
  9.   if menuButtonName <> oldMenuButtonName then
  10.     oldMenuButtonName = menuButtonName
  11.     if menuButtonName = "C-J List - C-J button" then
  12.       go("Menu 1")
  13.     end if
  14.     if menuButtonName = "C-J List - Activities button" then
  15.       go("Menu 2")
  16.     end if
  17.     if menuButtonName = "C-J List - Reports button" then
  18.       go("Menu 3")
  19.     end if
  20.     if menuButtonName = EMPTY then
  21.       go("Closebox fast")
  22.     end if
  23.   end if
  24. end
  25.